
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/content-manager/about-us${query}`,
    method: 'get',
  });
}

export function listTypeData(query) {
  return request({
    url: `/content-manager/about-classify${query}`,
    method: 'get',
  });
}

export function postAddData(form) {
  return request({
    url: '/content-manager/about-us',
    method: 'post',
    data: form
  });
}

export function putEditData(id,form) {
  return request({
    url: `/content-manager/about-us/${id}`,
    method: 'put',
    data: form
  });
}

export function deleteData(form) {
  return request({
    url: '/content-manager/about-us',
    method: 'delete',
    data: form
  });
}


